const express = require('express')
const router = express.Router()

const { login } = require('../router_handle/login')

//检查
const express_joi = require('@escook/express-joi')
//检查规则
const { login_check } = require('../check/login')

router.post('/login', express_joi(login_check), login)

module.exports = router